:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box
}

body,
html {
  width: 100%;
  height: 100%
}



// 人脸登录表单
.face-form-item {
  .img-box {
    width: 102px;
    height: 102px;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    display: inline-block;
    border: 1px solid #d9d9d9;

    img {
      width: 100%;
      height: 100%;

      object-fit: cover;
    }

    .mask {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;

      display: flex;
      justify-content: center;
      align-items: center;

      &:hover {
        background-color: rgba(0, 0, 0, 0.5);

        span {
          font-size: 16px;
          display: block;
          color: #fff;
        }
      }

      span {
        display: none;

        &:hover {
          color: red;
          cursor: pointer;
        }
      }
    }


  }
}

// 文件上传的按钮
.upload-btn {
  border: 0;
  background: none;
  color: inherit;
  font-size: inherit;

  .upload-text {
    margin-top: 8px;
    color: inherit;
    font-size: inherit;
  }
}

// 数值输入框
.ant-input-number .ant-input-number-input {
  color: inherit;
  line-height: inherit;
  height: 100%;
}

// 覆盖ant的数值输入框样式,高度跟随父元素，而父元素由用户配置
.ant-input-number-input-wrap {
  height: 100%;
}

// 图标
.ant-input-number-handler-wrap {
  .anticon {
    color: inherit
  }
}

// 覆盖ant单选组件的高度样式，由ant-select-selector配置
.ant-select {
  height: inherit;
}

// 覆盖，单选组件，展开的时候字体颜色
.ant-select.ant-select-open .ant-select-selection-item {
  color: inherit;
}

// 表单的 输入框+按钮的容器：发送邮件、余额充值、vip充值
.email-wrapper {
  display: flex;
  align-items: center;
}